import { NgModule, InjectionToken } from "@angular/core";
import { environment } from 'src/environments/environment';
export const urlApi = new InjectionToken<string>("api_url");
export const DocToken = new InjectionToken<Document>("");
@NgModule({
  declarations: [],
  imports: [],
  providers: [
    {
      provide: urlApi,
      useValue: environment.production ? "/img-store/storage" : "http://localhost:4200/api"
    }
  ]
})
export class ServiceModule {}
